package net.zjitc.service.impl;

import net.zjitc.dao.AdminDao;
import net.zjitc.dao.impl.AdminDaoImpl;
import net.zjitc.pojo.AdminUser;
import net.zjitc.service.AdminService;

/**
 * Created by rj1502 on 2017/11/14.
 */
public class AdminServiceImpl implements AdminService {
    AdminDao dao = new AdminDaoImpl();
    public AdminUser findByUsernameAndPassword(String username, String password) {
        return dao.findByUsernameAndPassword(username,password);
    }
}
